feat: autoregister commands & add enableAutoLogin setup - #101
Merged
Conversation
Mohammer5
force-pushed
the
CLI-14_Autoregister_commands
branch
from
November 19, 2020 11:39
33d7a6d to
5b226ed
Compare
Mohammer5
marked this pull request as ready for review
November 19, 2020 11:42
Mohammer5
force-pushed
the
CLI-14_Autoregister_commands
branch
from
November 19, 2020 11:43
5b226ed to
d784580
Compare
paschalidi
reviewed
Nov 19, 2020
Mohammer5
force-pushed
the
CLI-14_Autoregister_commands
branch
from
November 19, 2020 12:53
d784580 to
ac373b0
Compare
Mohammer5
commented
Nov 23, 2020
HendrikThePendric
requested changes
Nov 24, 2020
HendrikThePendric
left a comment
Contributor
There was a problem hiding this comment.
This will be very handy, great work! I've left a few comments in the code, most relate to the same thing so I'll also try to explain my general ideas below:
- In my opinion, if possible, we should only have one
logincommand and ideally this should be doing what is nowloginBasicAuth, since that is independent of the app-platform login modal. - And besides that
logincommand we should have theenableAutoLoginsetup, which callscy.login()in thebeforehook and in thebeforeEachit preserves the cookie and localStorage item. Probably I would prefer a slightly different name, i.e.enablePersistedSessionor sth.
Contributor
Author
|
@HendrikThePendric I've updated the login command, the setup file and the deprecation warning |
Mohammer5
force-pushed
the
CLI-14_Autoregister_commands
branch
from
November 25, 2020 12:01
d85e954 to
60cd25b
Compare
HendrikThePendric
approved these changes
Nov 25, 2020
HendrikThePendric
left a comment
Contributor
There was a problem hiding this comment.
Thanks for addressing the points we discussed. Great work!
Mohammer5
force-pushed
the
CLI-14_Autoregister_commands
branch
from
November 25, 2020 12:55
09bdb04 to
0bbb8e9
Compare
Contributor
|
🎉 This PR is included in version 3.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes CLI-14
enableAutoLoginsetup helperfeat(login): add command to fill login form) is a bit questionable